<template>
  <div id="baseVue">
    <el-menu :default-active="activeIndex" mode="horizontal" router>
      <el-menu-item index="/">Home</el-menu-item>
      <el-menu-item index="/vue2/">vue2项目</el-menu-item>
      <el-menu-item index="/vue3">vue3项目</el-menu-item>
    </el-menu>
    <keep-alive>
      <router-view/>
    </keep-alive>
    <div id="vue3"></div>
  </div>
</template>

<script>
export default {
  name: 'baseVue',
  data() {
    return {
      activeIndex: '/',
    };
  },
  methods: {
    
  },
}
</script>
